package api

import (
	"github.com/gin-gonic/gin"
	"user/api/handlers"
)

func LoadApiRouters(r *gin.Engine) {
	r.POST("/register", handlers.Register)
	r.POST("/login", handlers.Login)
	r.GET("/ws", handlers.WsFunc)
}
